import request from '@/utils/request';

export function useList(query){
  return request({
    url: '/model/use/list',
    method: 'get',
    params: query
  })
}

export function delModelUse(ids){
  return request({
    url: '/model/use/del/' + ids,
    method: 'delete',
  })
}

export function getApiUseInfo(id){
  return request({
    url: '/model/use/api/' + id,
    method: 'get'
  })
}

export function listApiInfo(query){
  return request({
    url: '/model/use/api/list',
    method: 'get',
    params: query
  })
}
